RCG Trax System System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
visits-get-visits-responseGet Visits Response Mapping

visits-get-visits-response

Get Visits Response Mapping

Source: ./src/main/resources/dwl/visits-get-visits-response.dwl

Mapping Tables

Maps Trax System Response to CIM Format

CIMTraxDescription
traxSessionIdsession_uidSession UUID generated by Trax​.
traxProjectNameproject_nameProject Name as provided by Trax.
traxStoreNumberstore_numberClient store unique identifier.
traxExternalRouteIdexternal_route_idClient route unique identifier.
traxSessionDatesession_dateVisit date in local time zone.
traxSessionStartTimesession_start_timeThe TimeStamp of the session start time as provided by the client application.
traxSessionEndTimesession_end_timeThe TimeStamp of the session end time as provided by the client application.
traxVisitorIdentifiervisitor_identifierThe user email.
traxVisiServiceTypevisit_service_typeThe visit type.
traxVisitTypeIdvisit_type_uidThe visit UID.
traxVisitTypeNamevisit_type_nameThe visit name.
traxResultsMetadataGenerationTimeresults_metadata.generation_timeThe Unix Epoch TimeStamp of analysis data generation.
traxResultsMetadataVersionresults_metadata.versionReport version.
traxResultsMetadataStatusresults_metadata.statusStatus of the report.
traxClientSessionIdclient_session_uidSession UUID generated by the client.
traxGPScoordinatesLatitudeGPS_coordinates_latitudeLatitude coordinate of the visits as captured by the GPS.
traxGPScoordinatesLongitudeGPS_coordinates_longitudeLongitude coordinate of the visits as captured by the GPS.
traxStoreGPScoordinatesLatitudestore_GPS_coordinates_latitudeLatitude coordinate of the visit store as entered in the DB.
traxStoreGPScoordinatesLongitudestore_GPS_coordinates_longitudeLongitude coordinate of the store as entered in the DB.
traxDeviceModeldevice_modelDevice Model by which the visit was conducted.
traxApplicationVersionapplication_versionApplication version of the mobile device used in the visit.
traxVisitUploadingEndTimevisit_uploading_end_timeEndTime of last image uploaded in the session.
traxSessionClosedTTLsession_closed_by_TTLApplication version of the mobile device used in the visit.
traxPartialGPSCoordinatespartial_GPS_coordinatesGPS coordinates.
traxClientTypeclient_typeType of client in the session.
traxNumeratornumeratorNumerator result for KPI result represented as ratio.
traxDenominatordenominatorDenominator result for KPI result represented as ratioor any auxiliary result.
actualDecimalresultKPI result.
traxScorescoreKPI score.
traxTargettargetKPI target.
traxWeightWeightKPI weight.
traxkpiNamenameName of the Product.
traxEntitytypetypeEntity type.
traxEntityIduidEntity UUID.

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 25, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.0